package test;

/**
 * @author wcj
 * @Date 2021/6/26 14:50
 * @Version 1.0
 */
public class Head implements Cloneable {

 private Face face;

 public Head(Face face) {
  this.face = face;
 }

 public Face getFace() {
  return face;
 }

 public void setFace(Face face) {
  this.face = face;
 }

 @Override
 protected Object clone() throws CloneNotSupportedException {
  Head head = (Head) super.clone();
  head.face = (Face) head.face.clone();
  return head;
 }
}
